
UninstallNginxService ()
{
    systemctl stop nginx.service
    systemctl disable nginx.service
    systemctl daemon-reload
    systemctl reset-failed
}

UninstallNginxService